﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WXDba.Entity
{
    [Table("MsgRecord")]
    public class MsgRecord
    {
        [Key]
        public int RecordID { get; set; }
        [MaxLength(50)]
        public string ToUserName { get; set; }
        [MaxLength(50)]
        public string FromUserName { get; set; }
        public DateTime CreateTime { get; set; }

        [MaxLength(30)]
        public string MsgType { get; set; }
        public string Content { get; set; }
        [MaxLength(100)]
        public string MediaId { get; set; }
        public long? MsgID { get; set; }

        public DateTime AddTime { get; set; }
    }
}
